﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Andy.Web
{
    public partial class HuongDan : System.Web.UI.Page
    {
        protected string IsColor()
        {
            using (var chService = new CauHinhServiceReference.CauHinhServiceClient())
            {
                var ch = chService.ChiTietCauHinh();
                if (ch != null)
                {
                    return "background-color:" + ch.Text5;
                }
            }
            return "background-color:#FFFFFF";
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                using (var chService = new CauHinhServiceReference.CauHinhServiceClient())
                {
                    var ch = chService.ChiTietCauHinh();
                    if (ch != null)
                    {
                        lt.Text = ch.Text4;
                    }
                }
            }
        }
    }
}